﻿namespace ZilLion.Wpf.Core.Print.Config
{
    /// <summary>
    ///     动态列配置
    /// </summary>
    public class PivotColConfig
    {
        /// <summary>
        ///     动态列Key
        /// </summary>
        public string PivotColKey { get; set; }

        /// <summary>
        ///获取数据colkey（如门店ID）
        /// </summary>
        public string PivotColDataKey { get; set; }


        /// <summary>
        ///获取数据col数据取值（如数量）
        /// </summary>
        public string PivotColValueKey { get; set; }
        ///// <summary>
        ///// 一级表头字段名称
        ///// </summary>
        //public string FirstHeaderFieldName { get; set; }

        ///// <summary>
        ///// 二级表头字段名称
        ///// </summary>
        //public string SecondHeaderFieldName { get; set; }

        ///// <summary>
        ///// 动态列是否有二级
        ///// </summary>
        //public bool HasSecondHeader => SecondHeaderFieldName.IsNotNullOrEmpty();
    }

}